package com.app.community.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 登录mapper层
 * @Date 2020/10/12 14:04
 **/
@Mapper
public interface LoginMapper {

    /**
     * 查询用户密码
     */
    @Select({"select password from user where user_id = #{userId}"})
    String selectUserPassword(@Param("userId")String userId);

}
